package com.weiyuwqj.api.service;

import com.weiyuwqj.api.common.Paginator;
import com.weiyuwqj.api.model.SysRole;
import com.weiyuwqj.api.base.BaseService;
import com.weiyuwqj.api.common.PageList;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangyong on 2016/7/20.
 */
public interface SysRoleService extends BaseService<SysRole> {

    //后台角色列表
    PageList getList(Paginator p, Map map);

    //后台添加
    void add(SysRole role, String sources);

    //后台未分页列�?
    List<SysRole> getList(Map map);
}
